package jdk8的特性.Stream.数值流;

import java.util.ArrayList;
import java.util.List;

/**
 * @author idea
 * @data 2018/9/15
 */
public class MockFood {

    public static List<Food> mockFoodList(){
        List<Food> foodList=new ArrayList<>();
        for(int i=0;i<10;i++){
            Food food=new Food();
            food.setMoney(i+100);
            food.setWeight(i+89);
            foodList.add(food);
        }
        return foodList;
    }
}
